package actionHandlers;

/*
 * clears the shapelist arraylist and the
 * undo/redo stack.  repaints and there should
 * be nothing on the canvas
 */

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import palette.CanvasWindow;
import palette.CanvasManager;
/*
 * @author: Daniel Miller
 */

public class ClearHandler implements ActionListener{

	@Override
	public void actionPerformed(ActionEvent arg0) {
		((CanvasWindow)CanvasManager.getInst().getSelectedFrame()).getCanvas().clear();
	}

}
